package com.aididi.config;

import com.aliyun.oss.OSSClient;
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author ：xuzexiang
 * @description：oss配置类
 * @date ： 2021/11/4 11:03
 */
@Configuration
@ConfigurationProperties(prefix = "aliyun.oss")
@Data
public class OSSProperties {

    private String endpoint;

    private String accessKeyId;

    private String accessKeySecret;

    private String bucketName;



}
